This ensures that we don't leak any GtkTreeViewAccessibleCellInfo when
re-inserting a new one with the same key.
https://bugzilla.gnome.org/show_bug.cgi?id=663694
accessible->idle_expand_path = NULL;
accessible->n_children_deleted = 0;
- accessible->cell_info_by_index = g_hash_table_new (g_int_hash, g_int_equal);
+ accessible->cell_info_by_index = g_hash_table_new_full (g_int_hash,
+ g_int_equal, NULL, cell_info_free);
widget = GTK_WIDGET (data);
tree_view = GTK_TREE_VIEW (widget);
{
if (!cell_info->in_use)
{
- cell_info_free (cell_info);
g_hash_table_iter_remove (&iter);
}
}